home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / BoxMaker++ / Touch ƒ / Touch.r < prev    next >
Encoding:
Text File  |  1995-01-20  |  1.7 KB  |  121 lines  |  [TEXT/KAHL]

  1. #define SystemSevenOrLater 1
  2.  
  3. #include <Types.r>
  4. #include <SysTypes.r>
  5.  
  6. #include "boxmaker templates.h"
  7. #include "boxmaker constants.h"
  8.  
  9. #define myInfo "Touch 1.1"
  10.  
  11. #include "boxmaker FinderInfo.r"
  12.  
  13. resource 'flgs' (128) {
  14.     EnterFolders,
  15.     PassFolders,
  16.     dontEnterInvisibles,
  17.     dontPassInvisibles
  18. };
  19.  
  20. type 'tims' {
  21.     array TypeArray {
  22.         literal longint;    // granularity for one of the settings
  23.     };
  24. };
  25.  
  26. resource 'tims' (128) {
  27.     {1, 60, 3600, 43200, 86400, -1}
  28. };
  29.  
  30. resource 'STR ' (128, locked) {
  31.     "Touch preferences"
  32. };
  33.  
  34. resource 'STR ' (-16397) {
  35.     "This document describes user preferences for the application"
  36.     " ‘Touch’. You cannot open or print this document. To be ef"
  37.     "fective, this document must be stored in the Preferences folder"
  38.     " inside the System Folder."
  39. };
  40.  
  41. resource 'DLOG' (kSettingsDialogID) {
  42.     {60, 96, 200, 416},
  43.     noGrowDocProc,
  44.     invisible,
  45.     goAway,
  46.     0x0,
  47.     kSettingsDialogID,
  48.     "Touch Preferences",
  49.     alertPositionMainScreen
  50. };
  51.  
  52. resource 'DITL' (kSettingsDialogID) {
  53.     {
  54.         {32, 8, 50, 114},
  55.         RadioButton {
  56.             enabled,
  57.             "Second"
  58.         },
  59.  
  60.         {48, 8, 66, 114},
  61.         RadioButton {
  62.             enabled,
  63.             "Minute"
  64.         },
  65.  
  66.         {64, 8, 82, 114},
  67.         RadioButton {
  68.             enabled,
  69.             "Hour"
  70.         },
  71.  
  72.         {80, 8, 98, 114},
  73.         RadioButton {
  74.             enabled,
  75.             "Half a day"
  76.         },
  77.  
  78.         {96, 8, 114, 114},
  79.         RadioButton {
  80.             enabled,
  81.             "Day"
  82.         },
  83.  
  84.         {112, 8, 130, 114},
  85.         RadioButton {
  86.             enabled,
  87.             "Ground Zero"
  88.         },
  89.  
  90.         {32, 152, 50, 296},
  91.         RadioButton {
  92.             enabled,
  93.             "Creation date"
  94.         },
  95.  
  96.         {48, 152, 66, 296},
  97.         RadioButton {
  98.             enabled,
  99.             "Modification date"
  100.         },
  101.  
  102.         {64, 152, 82, 296},
  103.         RadioButton {
  104.             enabled,
  105.             "Both"
  106.         },
  107.  
  108.         {8, 8, 24, 128},
  109.         StaticText {
  110.             disabled,
  111.             "Round dates to:"
  112.         },
  113.  
  114.         {8, 152, 24, 227},
  115.         StaticText {
  116.             disabled,
  117.             "Change:"
  118.         }
  119.     }
  120. };
  121.